//
//  HXRelatedFoodTCell.m
//  ZCooking
//
//  Created by 韩旭 on 16/9/16.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXRelatedFoodTCell.h"
#import "HX_Macro.h"
#import "HXRelatedFoodModel.h"
@implementation HXRelatedFoodTCell

- (void)setRelateFood:(HXRelatedFoodModel *)relateFood {
    _relateFood = relateFood;
    [self.imageHeader sd_setImageWithURL:[NSURL URLWithString:relateFood.image]];
    self.nameTitle.text = relateFood.title;
    self.detail.text = relateFood.Description;
    self.difficulty.text = [NSString stringWithFormat:@"难度：%@", relateFood.hard_level];
    self.taste.text = [NSString stringWithFormat:@"口味：%@", relateFood.taste];
    self.creatTime.text = [NSString stringWithFormat:@"烹饪时间：%@", relateFood.cooking_time];
}

@end
